keys (Key states)
The product may be fitted with up to three buttons. When a button is pressed, a key 'click' flag is set. This flag remains set until it is read. To read the key click flags, use the keys command. The result is a comma-separated list, with one flag per key:
Syntax: (see Command structure)
Copy
keys
Keys A, B and C are listed respectively. A '1' means the key has been pressed since the keys command was last called. The flags are cleared after keys is run:
Notes
-
The keys command only works in remote (Remote control) mode. It does not work in remote kexit mode
-
This command will only work on products with buttons installed.